//
//  CFContentTableView.m
//  CFHoveringTableViewDemo
//

//

#import "CFContentTableView.h"
#import <MJRefresh.h>
#import "YLGlobeHeader.h"
#import "YLActivityTableViewCell.h"
@interface CFContentTableView ()


@end

@implementation CFContentTableView

#pragma mark - Life Cycle

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
       
       // __weak typeof(self) weakSelf = self;
        self.backgroundColor = YLColor(248, 249, 252);
        self.separatorStyle = UITableViewCellSeparatorStyleNone;
//        self.mj_header = [MJRefreshNormalHeader headerWithRefreshingBlock:^{
//            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
//                // 结束刷新
//                [weakSelf.mj_header endRefreshing];
//            });
//        }];
    }
    return self;
}

- (void)dealloc
{
    
}


- (void)didMoveToWindow
{
    [super didMoveToWindow];
}



- (void)setContentOffset:(CGPoint)contentOffset
{

    if (self.window)
    {
        [super setContentOffset:contentOffset];
    }
}






@end
